﻿using System;
namespace Travel.Model
{
	/// <summary>
	/// users:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class users
	{
		public users()
		{}
		#region Model
		private int _id;
		private string _user_name;
		private string _pwd;
		private string _name;
		private int _type;
		private string _qq;
		private string _email;
		private string _phone;
		private DateTime _created_on;
		private string _created_by;
		private DateTime? _changed_on;
		private string _changed_by;
		/// <summary>
		/// 用户id
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 用户名
		/// </summary>
		public string user_name
		{
			set{ _user_name=value;}
			get{return _user_name;}
		}
		/// <summary>
		/// 用户密码
		/// </summary>
		public string pwd
		{
			set{ _pwd=value;}
			get{return _pwd;}
		}
		/// <summary>
		/// 姓名
		/// </summary>
		public string name
		{
			set{ _name=value;}
			get{return _name;}
		}
		/// <summary>
		/// 0 普通会员
		/// </summary>
		public int type
		{
			set{ _type=value;}
			get{return _type;}
		}
		/// <summary>
		/// QQ号
		/// </summary>
		public string qq
		{
			set{ _qq=value;}
			get{return _qq;}
		}
		/// <summary>
		/// email
		/// </summary>
		public string email
		{
			set{ _email=value;}
			get{return _email;}
		}
		/// <summary>
		/// 手机号码
		/// </summary>
		public string phone
		{
			set{ _phone=value;}
			get{return _phone;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime created_on
		{
			set{ _created_on=value;}
			get{return _created_on;}
		}
		/// <summary>
		/// 创建来源 前台注册为user regist 后台添加写添加人的id
		/// </summary>
		public string created_by
		{
			set{ _created_by=value;}
			get{return _created_by;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? changed_on
		{
			set{ _changed_on=value;}
			get{return _changed_on;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string changed_by
		{
			set{ _changed_by=value;}
			get{return _changed_by;}
		}
		#endregion Model

	}
}

